import Layout from '@/pages/public/layout' // 公共部分

const discovery = [{
  path: '/site/discovery',
  component: Layout,
  children: [{
    path: 'items',
    component: () => import('@/pages/site/discovery/items.vue'),
    meta: {
      title: '站点配置-发现页-功能列表',
      permission: 'site.mobile.discovery'
    }
  }, {
    path: 'items/:id/edit',
    component: () => import('@/pages/site/discovery/edit.vue'),
    meta: {
      title: '站点配置-发现页-排版配置',
      permission: 'site.mobile.discovery'
    }
  }]
}]

export default discovery
